<%--
  Created by IntelliJ IDEA.
  User: ylq
  Date: 2017/8/2
  Time: 13:53
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=utf-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="font-family" uri="http://java.sun.com/jsp/jstl/core" %>

<script type="text/javascript">
    $(function () {
        $("#displayPdfIframe").attr("src", '<c:url value="/pdf/web/viewer.html" />?file=' + encodeURIComponent('<c:url
        value="/pdf/showPdf?fileid=${fileid}"/>'));
    });
</script>
<div class="ctrlDiv">
    <div class="eleContainer elePaddingBtm">
        <iframe id="displayPdfIframe" width="100%" height="800px"></iframe>
    </div>
</div>